﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace User.API.Data
{
    public class AppUser
    {
        public AppUser()
        {
            Properties = new HashSet<UserProperty>();
            Tags = new HashSet<UserTag>();
            BPFiles = new HashSet<BPFile>();
        }
        public int Id { get; set; }
        public string Name { get; set; }
        public string Title { get; set; }
        public string Company { get; set; }
        public string Email { get; set; }
        public string Tel { get; set; }
        public string Phone { get; set; }
        public string Address { get; set; }
        public string CardName { get; set; }
        public int ProvinceId { get; set; }
        public string Province { get; set; }
        public int CityId { get; set; }
        public string City { get; set; }
        public string Avatar { get; set; }
        public virtual ICollection<UserProperty> Properties { get; set; }
        public virtual ICollection<UserTag> Tags { get; set; }
        public virtual ICollection<BPFile> BPFiles { get; set; }
    }
}
